package com.wwgsky.testmodule

import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.databinding.DataBindingUtil
import androidx.lifecycle.ViewModelProvider
import com.wwgsky.basestatusfragment.base.BaseStateFragment
import com.wwgsky.testmodule.databinding.FragmentTestBinding

class TestFragment : BaseStateFragment() {

    lateinit var binding : FragmentTestBinding

    override fun getLayoutView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        attachToRoot: Boolean
    ): View {
        binding =  DataBindingUtil.inflate(inflater, R.layout.fragment_test,container,attachToRoot)
        return binding.root
    }

    override fun onClickState() {

        Toast.makeText(activity, "点击了状态页哦", Toast.LENGTH_SHORT).show()

    }

}